package com.e7.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.e7.model.Campus;
import com.e7.model.Manor;
import com.e7.model.User;

@Service("manorService")
public class ManorService {

	/**
	 * 
	 * @param type
	 *            SCHOOL or CAMPUS
	 * @param id
	 *            school id or campus id
	 * @param order 
	 * @param page 
	 * @param num 
	 * @return
	 */
	public List<Manor> getManors(Integer type, Integer id, String order, Integer page, Integer num) {
		return null;
	}

	public List<Manor> getAllManors(String order, Integer page, Integer num) {
		// TODO Auto-generated method stub
		return null;
	}

	public Manor getManor(Integer id) {
		// TODO Auto-generated method stub
		return null;
	}
	/**
	 * @param user apply for seignior of manor @param id
	 * @param user
	 * @param id
	 * @param title
	 * @param theme
	 */
	public void addApplier(User user, Integer id, String title, String theme) {
		// TODO Auto-generated method stub
		
	}
	
	public List<Campus> getAllCampuses(String order, Integer page, Integer num) {
		// TODO Auto-generated method stub
		return null;
	}

}
